using System;
namespace MicroMsg.Manager
{
	public class ShakeSoundManager
	{
		private const string TAG = "ShakeSoundManager";
		private VoiceEffectManager shakeSound;
		private VoiceEffectManager matchSound;
		private VoiceEffectManager noMatchSound;
		public void Init()
		{
			this.shakeSound = new VoiceEffectManager("Resource/Voice/shake_sound_male.pcm", 1f);
			this.matchSound = new VoiceEffectManager("Resource/Voice/shake_match.pcm", 1f);
			this.noMatchSound = new VoiceEffectManager("Resource/Voice/shake_nomatch.pcm", 1f);
		}
		public void UnInit()
		{
			this.shakeSound = null;
			this.matchSound = null;
			this.noMatchSound = null;
		}
		public void PlayShakeSound()
		{
			this.shakeSound.IsLoudVoice = true;
			this.shakeSound.PlaySound();
		}
		public void PlayMatchSound()
		{
			this.matchSound.IsLoudVoice = true;
			this.matchSound.PlaySound();
		}
		public void PlayNoMatchSound()
		{
			this.noMatchSound.IsLoudVoice = true;
			this.noMatchSound.PlaySound();
		}
	}
}
